-----------------------------------
-- Area: Beadeaux
--   NM: Da'Dha Hundredmask
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/keyitems");

-----------------------------------	
-- onMobDeath	
-----------------------------------	

function onMobDeath(mob,killer)	

-- Drop crafting key item BY TROAK
  if((killer:hasKeyItem(ELDER_ARMOR_CLAIM_SLIP) == false) and (killer:getRace() == 8)) then
	killer:addKeyItem(ELDER_ARMOR_CLAIM_SLIP);
	killer:messageSpecial(KEYITEM_OBTAINED,ELDER_ARMOR_CLAIM_SLIP);
  end 
  if((killer:hasKeyItem(CUSTOM_ARMOR_MALE_CLAIM_SLIP) == false) and (killer:getRace() == 1)) then
	killer:addKeyItem(CUSTOM_ARMOR_MALE_CLAIM_SLIP);
	killer:messageSpecial(KEYITEM_OBTAINED,CUSTOM_ARMOR_MALE_CLAIM_SLIP);
  end 
  if((killer:hasKeyItem(CUSTOM_ARMOR_FEMALE_CLAIM_SLIP) == false) and (killer:getRace() == 2)) then
	killer:addKeyItem(CUSTOM_ARMOR_FEMALE_CLAIM_SLIP);
	killer:messageSpecial(KEYITEM_OBTAINED,CUSTOM_ARMOR_FEMALE_CLAIM_SLIP);
  end 
  if((killer:getSkillLevel(54) > 299) and (killer:hasKeyItem(BONE_PURIFICATION) == false)) then
	killer:addKeyItem(BONE_PURIFICATION);
	killer:messageSpecial(KEYITEM_OBTAINED,BONE_PURIFICATION);
  end

end;